/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.siteEncheres.client.command;

import com.google.gwt.user.client.ui.SimplePanel;
import org.siteEncheres.client.utilisateur.IhmInscrireUtilisateur;
import org.siteEncheres.client.utilisateur.IhmModifierProfil;

/**
 *
 * @author Damador
 */
public class Cmd_modifier_profil implements Command {

    SimplePanel panel;

    public Cmd_modifier_profil(SimplePanel panel) {
        this.panel = panel;
    }

    @Override
    public void execute() {
        panel.clear();
        panel.add(new IhmModifierProfil());
    }

    @Override
    public void setCondition(String condition) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
